package com.yuyou.train.user.service;

import com.yuyou.train.service.api.user.dto.UserFeedbackPageDTO;
import com.yuyou.train.service.api.user.entity.UserFeedback;
import com.yuyou.train.util.bean.Pagination;

import java.util.List;

/**
 * Created by yujin.liu on 2018/1/30.
 */
public interface IUserFeedbackService {

    int insert(UserFeedback userFeedback);

    int findUserFeedbackPageCount(Pagination<UserFeedbackPageDTO> p);

    List<UserFeedbackPageDTO> findUserFeedbackPageList(Pagination<UserFeedbackPageDTO> p);

    int updateByPrimaryKeySelective(UserFeedback userFeedback);

    int deleteByPrimaryKey(String id);
}
